package com.pospi.util;

import android.content.Context;
import android.support.v7.widget.AppCompatTextView;
import android.util.AttributeSet;

/**
 * Created by acer on 2018/8/14.
 */

public class MyTextview extends AppCompatTextView {
    public MyTextview(Context context) {
        super(context);
        setTypeface(App.getInstance().getTypeface());
    }

    public MyTextview(Context context, AttributeSet attrs) {
        super(context, attrs);
        setTypeface(App.getInstance().getTypeface());
    }

    public MyTextview(Context context, AttributeSet attrs, int defStyleAttr) {
        super(context, attrs, defStyleAttr);
        setTypeface(App.getInstance().getTypeface());
    }
}
